package com.example.loginservice;

import java.sql.Connection;
import java.sql.DriverManager;

public class T1 {
    public Connection tianyun() throws Exception {
        Class.forName("com.mysql.cj.jdbc.Driver");
        Connection root = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/major5?useSSL=false&serverTimezone=UTC",
                "root", "qa123456");
        //注意修改
        return root;
    }
}
